/*******************************************************************************
 * Package: com.hngtrust.iir.company.controller.vo
 * Type:    RepVO
 * Date:    2020/11/24 14:36
 *
 * Copyright (c) 2020 HUANENG GUICHENG TRUST CORP.,LTD All Rights Reserved.
 *
 * You may not use this file except in compliance with the License.
 *******************************************************************************/
package com.hngtrust.iir.company.controller.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 *
 *查询列表的VO类
 * @author Chentianyong
 * @date 2021/3/22 14:36
 */
@ApiModel(description = "公司业务往来")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ListDealingRespVO {
    
    /**
     * 合同签订日期
     */
    @ApiModelProperty(value = "合同签订日期")
    private Date htqdrq;
    
    /**
     * 业务数据列表
     */
    @ApiModelProperty(value = "业务数据列表")
    private List<ListDealingRespVO.BusinessData> businessData = new ArrayList<>();
    
    @Data
    @ApiModel(description = "业务数据")
    public static class BusinessData {
        /**
         * 合同签订金额
         */
        @ApiModelProperty(value = "合同签订金额")
        private BigDecimal htqdje;
    
        /**
         * 业务种类
         */
        @ApiModelProperty(value = "业务种类")
        private String ywzl;
    }
}
